package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 物流公司
 * </p>
 *
 * @author 辉
 * @since 2019-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TzDelivery extends Model<TzDelivery> {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "dvy_id", type = IdType.AUTO)
    private Long dvyId;

    /**
     * 物流公司名称
     */
    private String dvyName;

    /**
     * 公司主页
     */
    private String companyHomeUrl;

    /**
     * 建立时间
     */
    private LocalDateTime recTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

    /**
     * 物流查询接口
     */
    private String queryUrl;


    @Override
    protected Serializable pkVal() {
        return this.dvyId;
    }

}
